package model {
	import com.adobe.cairngorm.model.IModelLocator;

	import mx.collections.ArrayCollection;

	public class ProductModel implements IModelLocator {
		private static var _instance:ProductModel;

		[Bindable]
		public var ac:ArrayCollection;

		[Bindable]
		public var msg:String;

		public function ProductModel(singletonEnforcer:SingletonEnforcer) {
			ac=new ArrayCollection();
			msg="";
		}

		public static function getInstance():ProductModel {
			if (_instance == null) {
				_instance=new ProductModel(new SingletonEnforcer());
			}
			return _instance;
		}
	}
}

class SingletonEnforcer {
}